import { createApp, } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router/index'
import { registerMicroApps,  } from 'qiankun';


const app = createApp(App)

registerMicroApps([
  // {
  //   name: 'react app', // app name registered
  //   entry: '//localhost:7100',
  //   container: '#yourContainer',
  //   activeRule: '/yourActiveRule',
  // },
  {
    name: 'flow-graph',
    entry: 'http://localhost:3002/',
    container: '#subApp',
    activeRule: '/flow-graph'
  },
]);



app.use(router)

app.mount('#app')
